package com.beans;

import java.util.Date;

public class Student {
	private Integer id;
	private String sname;
	private String sex;
	private String head;
	private Double weight;
	private Date birth;
	private Integer cid;
	private Cla cla;
	public Student(Integer id, String sname, String sex, String head, Double weight, Date birth, Integer cid, Cla cla) {
		super();
		this.id = id;
		this.sname = sname;
		this.sex = sex;
		this.head = head;
		this.weight = weight;
		this.birth = birth;
		this.cid = cid;
		this.cla = cla;
	}
	public Student(String sname, String sex, String head, Double weight, Date birth, Integer cid, Cla cla) {
		super();
		this.sname = sname;
		this.sex = sex;
		this.head = head;
		this.weight = weight;
		this.birth = birth;
		this.cid = cid;
		this.cla = cla;
	}
	public Student() {
		super();
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getSname() {
		return sname;
	}
	public void setSname(String sname) {
		this.sname = sname;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getHead() {
		return head;
	}
	public void setHead(String head) {
		this.head = head;
	}
	public Double getWeight() {
		return weight;
	}
	public void setWeight(Double weight) {
		this.weight = weight;
	}
	public Date getBirth() {
		return birth;
	}
	public void setBirth(Date birth) {
		this.birth = birth;
	}
	public Integer getCid() {
		return cid;
	}
	public void setCid(Integer cid) {
		this.cid = cid;
	}
	public Cla getCla() {
		return cla;
	}
	public void setCla(Cla cla) {
		this.cla = cla;
	}
	
}
